const { JtlParser, JtlAnalyzer } = require("../../src/jtlAnalysis");

const jtlFilePath = "C:\\Users\\毛建杰\\Desktop\\automated-performance-platform\\data\\jtl\\01.建档.jtl";

(async function () {
    const jtlParser = new JtlParser(jtlFilePath);
    await jtlParser.parse();
    const jtlAnalyzer = new JtlAnalyzer(jtlParser.data);
    const { report, apis } = jtlAnalyzer.analyze();
    console.log(report);
    console.log(apis);
})()